#include "character.h"

character::character() {
    charPosition.x = 0;
    charPosition.y = 0;
    charPosition.z = 0;
}

void character::moveForward() {
    charPosition.z = charPosition.z + 10;
}

void character::moveBackward() {
    charPosition.z = charPosition.x - 10;
}

void character::strafeLeft() {
    charPosition.x = charPosition.z - 10;
}

void character::strafeRight() {
    charPosition.x = charPosition.x + 10;
}

position character::currentPosition() {
    return charPosition;
}